﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="clear_edit.aspx.cs" Inherits="admin_chuku_clear_edit" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>费用结算</title>
    <link href="../scripts/ui/skins/Aqua/css/ligerui-all.css" rel="stylesheet" type="text/css" />
    <link href="../images/style.css" rel="stylesheet" type="text/css" />
    <link href="../select/skins/style.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="../scripts/jquery/jquery-1.3.2.min.js"></script>
    <script type="text/javascript" src="../scripts/jquery/jquery.form.js"></script>
    <script type="text/javascript" src="../scripts/jquery/jquery.validate.min.js"></script>
    <script type="text/javascript" src="../scripts/jquery/messages_cn.js"></script>
    <script type="text/javascript" src="../scripts/ui/js/ligerBuild.min.js"></script>
    <script type="text/javascript" src="../js/function.js"></script>
    <script type="text/javascript" src="../select/js/select_split.js"></script>
</head>
<body class="mainbody">
<form id="frmform" runat="server">
<div class="navigation"><a href="javascript:history.go(-1);" class="back">后退</a>首页 &gt; 入库出库 &gt; 费用结算</div>
<div id="contentTab">
    <ul class="tab_nav">
        <li class="selected"><a onclick="tabs('#contentTab',0);" href="javascript:;">编辑入库信息</a></li>
    </ul>
     <!--订单状态操作.结束-->
      <%--  <div class="line10"></div>--%>
     
        <asp:Repeater ID="rptList" runat="server">
        <HeaderTemplate>
        <table width="100%" border="0" cellspacing="0" cellpadding="0" class="order_table" style="border-bottom:0;" >
          <tr>
            <th align="left">货物名称</th>
            <th width="12%" align="left">件数</th>
            <th width="12%" align="left">体积（m³）</th>
            <th width="10%" align="left">天数（天）</th>
            <th width="10%" align="left">单价（元）</th>
            <th width="12%" align="left">收费金额（元）</th>
           <%-- <th width="12%" align="left">积分合计</th>--%>
          </tr>
          </HeaderTemplate>
          <ItemTemplate>
          <tr>
            <td><%#Eval("goods_name")%></td>
            <td><%#Eval("num")%></td>
            <td><%#Eval("cube")%></td>
            <td><%#Eval("days")%></td>
            <td><%#new fcwms.DAL.dt_cost().GetCost()%></td>
            <td><%#Convert.ToDecimal(Convert.ToDecimal(Eval("cube")) * Convert.ToInt32(Eval("days")) * Convert.ToDecimal(new fcwms.DAL.dt_cost().GetCost())).ToString("0.00")%></td>
          </tr>
          </ItemTemplate>
          <FooterTemplate>
            <%#rptList.Items.Count == 0 ? "<tr><td align=\"center\" colspan=\"6\">暂无记录</td></tr>" : ""%>
          </table>
         </FooterTemplate>
         </asp:Repeater>
          <table width="100%" border="0" cellspacing="0" cellpadding="0" class="order_table" >
          <tr>
            <th width="50%" colspan="2">货物信息</th>
            <th width="50%" colspan="2"></th>
          </tr>
          <tr>
            <td width="5%" class="col">报关单号：</td>
            <td><%=model.decla_id %></td>
            <td width="5%" class="col">报关行：</td>
            <td><%=model.customs_broker %></td>
          </tr>
          <tr>
            <td class="col">入库时间：</td>
            <td><%=Convert.ToDateTime(model.ruku_time).ToString("yyyy-MM-dd HH:mm")%></td>
            <td class="col">入库仓库：</td>
            <td><%=model.ruku_storage %></td>
          </tr>
          <tr>
            <td class="col">入库方式：</td>
            <td><%=model.ruku_way %></td>
            <td class="col">客户：</td>
            <td><%=model.customer %></td>
          </tr>
          <tr>
            <td class="col">总金额：</td>
            <td><%=model.ruku_way %></td>
            <td class="col">天数：</td>
            <td><%=new fcwms.Common.Tools().DateDiff3(Convert.ToDateTime(model.ruku_time),DateTime.Now)%></td>
          </tr>
        </table>
          <div class="line10"></div>
  <%--  <div class="foot_btn_box">
   <asp:Button ID="btnSubmit" runat="server" Text="提交保存" CssClass="btnblue" onclick="btnSubmit_Click"  />&nbsp;&nbsp;&nbsp;
   <input name="重置" type="reset" class="btnblue" value="重置" />&nbsp;&nbsp;&nbsp;
   <asp:Button ID="btnBack" runat="server" Text="返回列表" CssClass="btnblue" 
            onclick="btnBack_Click"   />
    </div>--%>
</div>
</form>
</body>
</html>
